package cn.iocoder.yudao.module.aiposter.controller.admin.template.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 海报模版新增/修改 Request VO")
@Data
public class TemplateSaveReqVO {

    @Schema(description = "模版编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "新年手机海报")
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "行业", requiredMode = Schema.RequiredMode.REQUIRED, example = "食品")
    @NotEmpty(message = "行业不能为空")
    private String bizName;

    @Schema(description = "关键词", requiredMode = Schema.RequiredMode.REQUIRED, example = "草莓、巧克力")
    @NotEmpty(message = "关键词不能为空")
    private String keyword;

    @Schema(description = "封面图", requiredMode = Schema.RequiredMode.REQUIRED, example = "/static/10101.png")
    @NotEmpty(message = "封面图不能为空")
    private String cover;

    @Schema(description = "图层信息", requiredMode = Schema.RequiredMode.REQUIRED, example = "{'type','标题'}")
    @NotEmpty(message = "图层信息不能为空")
    private String data;

    @Schema(description = "宽度", requiredMode = Schema.RequiredMode.REQUIRED, example = "200")
    @NotNull(message = "宽度不能为空")
    private Integer width;

    @Schema(description = "高度", requiredMode = Schema.RequiredMode.REQUIRED, example = "300")
    @NotNull(message = "高度不能为空")
    private Integer height;

    @Schema(description = "状态（启动、停止）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态（启动、停止）不能为空")
    private Integer status;

}